<!--
 * @Description: 
 * @Date: 2022-08-12 16:58:19
 * @LastEditTime: 2022-10-27 10:08:36
 * @FilePath: \jsnode\css\gundong.html
-->

<!DOCTYPE html>
<html lang="en">
 
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
 
        .section {
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, .7);
            color: #fff;
            line-height: 100vh;
            text-align: center;
            font-size: 20vh;
        }
 
        .s-img {
            background-attachment: fixed;
            background-size: cover;
            background-position: center center;
        }
 
        .s-img1 {
            background-image: url("../img/bizhi1.jpg");
        }
 
        .s-img2 {
            background-image: url("../img/bizhi2.jpg");
        }
 
        .s-img3 {
            background-image: url("../img/bizhi3.jpg");
        }
        .s-img4 {
            background-image: url("../img/bizhi4.jpg");
        }
    </style>
</head>
 
<body>
    <div class="container">
 
        <div class="section s-img s-img1">IMG1</div>
        <div class="section s-img4">OTHER</div>
        <div class="section s-img s-img2">IMG2</div>
        <div class="section s-img4">MORE</div>
        <div class="section s-img s-img3">IMG3</div>
 
    </div>
</body>
 
</html>